//
//  OrderDetailModel.m
//  cm
//
//  Created by suyibaishan on 2017/11/7.
//  Copyright © 2017年 feihu. All rights reserved.
//

#import "OrderDetailModel.h"

@implementation OrderDetailModel

-(instancetype)initWithDictionary:(NSDictionary *)dictionary
{
    if (self = [super init])
    {
        self.imageUrl = dictionary[@"imgUrl"];
        self.goodsTitle = dictionary[@"productName"];
        self.price = [dictionary[@"unitPrice"] floatValue];
        self.downPayment = [dictionary[@"downPayment"] floatValue];
        self.quantity = [dictionary[@"quantity"] integerValue];
    }
    return  self;
}

@end
